SUBROUTINE NUMLIST2
* Displays a numbered list using the string functions RWS_LIST_ITEM and RWS_OLIST* Include the RealWeb definitions
INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP
* Start the HTML page* Display the text 'Oven Timer' in the browser's title barCALL RW_START_HTML_PAGE("Oven Timer", "", "", "", "")CALL RW_PUT("To set the oven timer:")CALL RW_NEWLINES(2)* Create the items for the list
LIST=""
BUF="Turn the dial to the left of the clock from MAN to AUTO"
CALL RWS_LIST_ITEM(BUF,"")
LIST=LIST:BUF
BUF="Advance the clock to the required start time and press the START button"
CALL RWS_LIST_ITEM(BUF,"")
LIST=LIST:BUF
BUF="Advance the clock to the required finish time and press the END button"
CALL RWS_LIST_ITEM(BUF,"")
LIST=LIST:BUF
BUF="Set the oven to the required temperature"
CALL RWS_LIST_ITEM(BUF,"")
LIST=LIST:BUF
* Create and display the listCALL RWS_OLIST(LIST,"")CALL RW_PUT(LIST)* Complete the pageCALL RW_END_PAGE
RETURN
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><META NAME="Generator" CONTENT="Reality"><TITLE>Oven Timer</TITLE></HEAD><BODY>
To set the oven timer:
<BR><BR><OL><LI>Turn the dial to the left of the clock from MAN to AUTO
<LI>Advance the clock to the required start time and press the START button
<LI>Advance the clock to the required finish time and press the END button
<LI>Set the oven to the required temperature
</OL></BODY></HTML>